<?php
	$this->widget('zii.widgets.grid.CGridView', array(
				'id'=>'operasi-pending-grid',
			    'dataProvider'=>$model->searchOperasiPending($id),
				'filter'=>$model,
			    'columns'=>array(
					array(
		                'header'=>'No.',
		                'value'=>'$this->grid->dataProvider->pagination->currentPage*$this->grid->dataProvider->pagination->pageSize + $row+1',
        			),
					array(
						'name'=>'transaksiOperasis.idPagu.idPos.idKet.jenis_pos',
						'filter'=> CHtml::activeTextField($model,'pos'),
						'value'=> '$data->transaksiOperasis->idPagu->idPos->idKet->jenis_pos',		    		
					),
					array(
						'name'=>'transaksiOperasis.idPagu.idPos.idKet.jenis_subpos',
						'filter'=> CHtml::activeTextField($model,'pos_sub'),
						'value'=> '$data->transaksiOperasis->idPagu->idPos->idKet->jenis_subpos',		    		
					),
					array(
						'name'=>'transaksiOperasis.idPagu.idPos.idKet.keterangan',
						'filter'=> CHtml::activeTextField($model,'pos_keterangan'),
						'value'=> '$data->transaksiOperasis->idPagu->idPos->idKet->keterangan',		    		
					),
					'pekerjaan',
					'rekanan',	
					array(
						'name'=>'kurs',
						'filter'=> CHtml::activeDropDownList($model, 'kurs', array(''=>'', 'Dollar'=>'Dollar', 'Euro'=>'Euro', 'Yuan'=>'Yuan', 'Rupiah'=>'Rupiah')),
						'value'=> '$data->kurs',		    		
					),
					'nilai',
					'nilai_rupiah',
					array(
						'name'=>'transaksiAtributs.nota_divmum_no',
						'filter'=> CHtml::activeTextField($model,'nota_divmum'),
						'value'=> '$data->transaksiAtributs->nota_divmum_no',		    		
					),
					array(
						'name'=>'transaksiOperasis.tanda_terima',
						'filter'=> CHtml::activeTextField($model,'tanda_terima'),
						'value'=> '$data->transaksiOperasis->tanda_terima',		    		
					),
					array(
						'class'=>'CButtonColumn',			    		
					),
				),
			)
		);
?>